package com.example.ruihuada.ui.HomeModule.adapter

import com.chad.library.adapter.base.BaseMultiItemQuickAdapter
import com.chad.library.adapter.base.BaseViewHolder
import com.chad.library.adapter.base.entity.MultiItemEntity

/**
 *
 *  暂时不用
 */

class ShopAdapter(data: List<MultiItemEntity>) :
    BaseMultiItemQuickAdapter<MultiItemEntity, BaseViewHolder>(data as List<MultiItemEntity>?) {
    companion object {
        const val TYPE_ACTIVITY = 1
        const val TYPE_SHOP = 2
    }

    init {
        // 必须绑定type和layout的关系
//        addItemType(TYPE_ACTIVITY, R.layout.item_collect_list)
//        addItemType(TYPE_SHOP, R.layout.item_collect_list)
    }


    override fun convert(helper: BaseViewHolder, item: MultiItemEntity?) {
        when (helper.itemViewType) {

        }
    }


}